package com.dangdang.domain;

/**
 * 订单条目明细实体类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-28
 */
public class Item implements java.io.Serializable {

	private static final long serialVersionUID = 4184785907850904851L;

	/** 订单条目ID */
	private Integer id;

	/** 所属订单 */
	private Order orderId;

	/** 商品名称 */
	private String productName;

	/** 商品ID */
	private Integer productId;

	/** 当当价格 */
	private double dangPrice;

	/** 商品数量 */
	private Integer productNum;

	/** 合计金额 */
	private double amount;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Order getOrderId() {
		return orderId;
	}

	public void setOrderId(Order orderId) {
		this.orderId = orderId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public double getDangPrice() {
		return dangPrice;
	}

	public void setDangPrice(double dangPrice) {
		this.dangPrice = dangPrice;
	}

	public Integer getProductNum() {
		return productNum;
	}

	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}
}